import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import router from './router'
// 导入自定义组件
// import CustomComponents from './components'  // 暂时注释掉，因为components目录为空

const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.use(ElementPlus)
app.use(router)
// 注册自定义组件
// app.use(CustomComponents)  // 暂时注释掉，因为components目录为空
app.mount('#app')
